package com.fourth.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ljx.entity.BusinessInfo;
import org.apache.ibatis.annotations.Select;

/**
 * @author C-Q
 * @version 1.1.0
 * @Description: 根据当前用户名查询用户信息
 * @date 2023/3/2
 */
public interface UBbusinessInfoDao extends BaseMapper<BusinessInfo> {

    /**
     * 查询商家所有信息
     * @param telephone
     * @return
     */
    @Select("select * from b_business_info where telephone=#{telephone}")
    BusinessInfo selectByTelephone(String telephone);

}
